'use strict';

/**
 * @ngdoc function
 * @name webApp.controller:ServerCtrl
 * @description
 * # ServerCtrl
 * Controller of the webApp
 */
angular.module('webApp')
  .controller('serverContent', function ($scope) {
  $scope.severs = [
    [
      {
        name: '社区',
        backgroundColor: '#bc2001',
        img: 'server1',
        sref: 'root.community'
      },
      {
        name: '用户',
        backgroundColor: '#bc4c01',
        img: 'server2',
        sref: 'root.userTable'
      },
      {
        name: '团队',
        backgroundColor: '#b1213c',
        img: 'server3',
        sref: 'root.team'
      }
    ],
    [
      {
        name: '产品',
        backgroundColor: '#3d7fb9',
        img: 'server4',
        sref: 'root.product'
      },
      {
        name: '搜索',
        backgroundColor: '#183f80',
        img: 'server5',
        sref: 'root.search'
      },
      {
        name: '设置',
        backgroundColor: '#589440',
        img: 'server6',
        sref: 'root.setUp'
      }
    ]
  ];
});
